package com.tms.mail.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 应收对账单对象 ysdz
 *
 * @author ruoyi
 * @date 2024-10-28
 */
public class Ysdz extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 对账单号 */
    @Excel(name = "对账单号")
    private String reconciliationNo;

    /** 客户 */
    @Excel(name = "客户")
    private String customer;

    /** 结算状态 */
    @Excel(name = "结算状态")
    private Integer settlementStatus;

    /** 订单总数量 */
    @Excel(name = "订单总数量")
    private Long totalOrderQuantity;

    /** 货物数量 */
    @Excel(name = "货物数量")
    private Long totalGoodsQuantity;

    /** 货物总体积 */
    @Excel(name = "货物总体积")
    private BigDecimal totalGoodsVolume;

    /** 货物总重量 */
    @Excel(name = "货物总重量")
    private BigDecimal totalGoodsWeight;

    /** 应收总金额(元) */
    @Excel(name = "应收总金额(元)")
    private BigDecimal totalReceivableAmount;

    /** 实收总金额(元) */
    @Excel(name = "实收总金额(元)")
    private BigDecimal totalReceivedAmount;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setReconciliationNo(String reconciliationNo)
    {
        this.reconciliationNo = reconciliationNo;
    }

    public String getReconciliationNo()
    {
        return reconciliationNo;
    }
    public void setCustomer(String customer)
    {
        this.customer = customer;
    }

    public String getCustomer()
    {
        return customer;
    }
    public void setSettlementStatus(Integer settlementStatus)
    {
        this.settlementStatus = settlementStatus;
    }

    public Integer getSettlementStatus()
    {
        return settlementStatus;
    }
    public void setTotalOrderQuantity(Long totalOrderQuantity)
    {
        this.totalOrderQuantity = totalOrderQuantity;
    }

    public Long getTotalOrderQuantity()
    {
        return totalOrderQuantity;
    }
    public void setTotalGoodsQuantity(Long totalGoodsQuantity)
    {
        this.totalGoodsQuantity = totalGoodsQuantity;
    }

    public Long getTotalGoodsQuantity()
    {
        return totalGoodsQuantity;
    }
    public void setTotalGoodsVolume(BigDecimal totalGoodsVolume)
    {
        this.totalGoodsVolume = totalGoodsVolume;
    }

    public BigDecimal getTotalGoodsVolume()
    {
        return totalGoodsVolume;
    }
    public void setTotalGoodsWeight(BigDecimal totalGoodsWeight)
    {
        this.totalGoodsWeight = totalGoodsWeight;
    }

    public BigDecimal getTotalGoodsWeight()
    {
        return totalGoodsWeight;
    }
    public void setTotalReceivableAmount(BigDecimal totalReceivableAmount)
    {
        this.totalReceivableAmount = totalReceivableAmount;
    }

    public BigDecimal getTotalReceivableAmount()
    {
        return totalReceivableAmount;
    }
    public void setTotalReceivedAmount(BigDecimal totalReceivedAmount)
    {
        this.totalReceivedAmount = totalReceivedAmount;
    }

    public BigDecimal getTotalReceivedAmount()
    {
        return totalReceivedAmount;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("reconciliationNo", getReconciliationNo())
            .append("customer", getCustomer())
            .append("settlementStatus", getSettlementStatus())
            .append("totalOrderQuantity", getTotalOrderQuantity())
            .append("totalGoodsQuantity", getTotalGoodsQuantity())
            .append("totalGoodsVolume", getTotalGoodsVolume())
            .append("totalGoodsWeight", getTotalGoodsWeight())
            .append("totalReceivableAmount", getTotalReceivableAmount())
            .append("totalReceivedAmount", getTotalReceivedAmount())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
